<h1>Lines List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Name</th>
      <th>Address1</th>
      <th>Email</th>
      <th>Is deleted</th>
      <th>Birth date</th>
      <th>City</th>
      <th>Phone</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($lines as $line): ?>
    <tr>
      <td><a href="<?php echo url_for('line/edit?id='.$line->getId()) ?>"><?php echo $line->getId() ?></a></td>
      <td><?php echo $line->getName() ?></td>
      <td><?php echo $line->getAddress1() ?></td>
      <td><?php echo $line->getEmail() ?></td>
      <td><?php echo $line->getIsDeleted() ?></td>
      <td><?php echo $line->getBirthDate() ?></td>
      <td><?php echo $line->getCity() ?></td>
      <td><?php echo $line->getPhone() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('line/new') ?>">New</a>
